﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DiggDiaryManage.aspx.cs" Inherits="WinnerCMS.WebUI.Admin.Common.DiggDiaryManage" %>
 
<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" TagPrefix="uc1" %>
<!doctype html>
<html>
<head id="Head1" runat="server">
    <title>Digg管理</title>
    <meta charset="utf-8">
    <meta content="no-cache" http-equiv="Pragma" />
    <%: Scripts.Render("~/Scripts/AdminBase") %>

    <%: Styles.Render("~/Content/Bootstrap/css") %>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdateProgress ID="UpdateProgress1" runat="server"
            AssociatedUpdatePanelID="UpdatePanel1">
            <ProgressTemplate>
                <uc1:UC_AjaxLoading ID="UC_AjaxLoading1" runat="server" />
            </ProgressTemplate>
        </asp:UpdateProgress>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
              
                <BootStrap:Breadcrumb ID="brPath" runat="server"></BootStrap:Breadcrumb>
                <asp:GridView ID="GV_List" runat="server" AutoGenerateColumns="False" ItemType="WinnerCMS.Model.DiggDiary" DataKeyNames="Id" GridLines="None" CssClass="table table-bordered table-condensed table-hover">
                    <HeaderStyle CssClass="HeaderStyle"></HeaderStyle>
                    <Columns>
                        <asp:TemplateField HeaderText="选择">
                            <HeaderTemplate>
                                <input type="checkbox" name="chkHeader" value="chkHeader" onclick="javascript: SelectAll(this);" />
                            </HeaderTemplate>
                            <HeaderStyle Width="30px" />
                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                            <ItemTemplate>
                                <asp:CheckBox ID="cbkSelectID" runat="server"></asp:CheckBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="内容链接">
                            <ItemTemplate>
                                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Item.Digg.Core.Link %>' Target="_blank" Text='<%# Item.Digg.Core.ContentTitle %>'></asp:HyperLink>
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="IsAgree" HeaderText="是否支持">
                            <FooterStyle HorizontalAlign="Center" />
                            <HeaderStyle Width="60px" HorizontalAlign="Center" />
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="IP" HeaderText="IP">
                            <HeaderStyle Width="120px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="CheckIndate"
                            DataFormatString="{0:yy-MM-dd HH:mm:ss}" HeaderText="发生时间" HtmlEncode="False">
                            <HeaderStyle Width="120px" HorizontalAlign="Center" />
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                    </Columns>
                </asp:GridView>
                <div class="WorkArea">
                    <asp:Button ID="btnDelSeletedID" runat="server" Text="删除选中" Style="cursor: pointer"
                        OnClick="DelSeletedID_Click" EnableViewState="False" CssClass="btn btn-default"></asp:Button>
                    &nbsp;&nbsp;
                </div>
                <WinnerCMS:PageNavigation ID="PageNavigation1" runat="server"
                    OnPageChanging="PageNavigation1_PageChanging">
                </WinnerCMS:PageNavigation>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>
